//
//  STDoorSimpleCell.m
//  YiYueHairdresser
//
//  Created by zhouzhouzhou on 2018/10/10.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import "STDoorSimpleCell.h"

@implementation STDoorSimpleCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    return self;
}


-(void)setDoorSimpleCellWithData:(STHairStoreModel *)data{
    [self.doorImg sd_setImageWithURL:[NSURL URLWithString:data.picture] placeholderImage:[UIImage imageNamed:@"m-adv"]];
    self.nameLab.text = data.storename;
    self.distanceLab.text = [NSString stringWithFormat:@"%.0fm",data.distance];
    self.addrLab.text =[NSString stringWithFormat:@"地址：%@",data.location];
}

@end
